//
//  WBWebViewController.swift
//  SinaWeibo
//
//  Created by zhuangqianwei on 16/11/27.
//  Copyright © 2016年 zhuangqianwei. All rights reserved.
//

import UIKit

class WBWebViewController: UIViewController {

    
    let webVeiw = UIWebView()
    var urlString: String?
    
    override func loadView() {
        
        view = webVeiw
        loadPage()
    }
    private func loadPage() {
        
        guard let urlStr = urlString else {
            
            return
        }
        let url = URL(string: urlStr)
        let req = URLRequest(url: url!)
        webVeiw.loadRequest(req)
    }
    
    
    
   }
